home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 1999 #8 / 1999 CD 8 (black).iso / maskdemo / DATA1.CAB / Program_Executable_Files / Daventry / KQ / Pyramid.cs < prev    next >
Encoding:
Text File  |  1998-12-15  |  450 b   |  23 lines

  1. echo $1 $2 $3 $4 $5
  2. if test $2 == Init
  3.     echo hit Pyramid init
  4.     sendEvent 0 $1 KQAnimPlayEvent Create
  5.     getEndLoop $1 $1 1
  6. else if test $2 == ConnorAction
  7.     if test $4 == do
  8.         give CrystalPyramid
  9.         deleteObject Pyramid
  10.     endif
  11. else if test $2 == Cue
  12.     echo hit cue
  13.     if test $3 == 300
  14.         echo it is an animation
  15.         if test $5 == Create
  16.             echo stop playing Create
  17.             sendEvent 0 $1 KQAnimPlayEvent stop
  18.         endif
  19.     endif
  20. endif
  21. endif
  22. endif
  23.